package com.sxl.service;

import com.sxl.domain.Userchecks;
import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author xue
* @description 针对表【userchecks】的数据库操作Service
* @createDate 2022-05-03 22:17:37
*/
public interface UserchecksService extends IService<Userchecks> {
    /**
     * 根据id查询今天签到的数据
     * @param userId
     * @return
     */
    Userchecks selectAllById(@Param("userId") Integer userId);
    /**
     * 全查页面显示
     * @param userchecks
     * @return
     */
    List<Userchecks> selectAll(Userchecks userchecks);

    /**
     * 查询行数
     * @param userchecks
     * @return
     */
    int getCountUserchecks(Userchecks userchecks);
}
